package com.eascs.web.o2o.web.aging.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="wf_email")
public class SysEmail implements Serializable{

	private static final long serialVersionUID = 1L;
	
	/** 主键 */
    @Column(name = "email_id")
   	@Id
	private String emailId;
    /**  标题*/
    private String title;
    /**  发件人*/
    private String sender;
    /**  收件人*/
    private String recipients;
    /**  抄送人*/
    private String cc;
    /**  邮件内容*/
    private String content;
    /**  存放附件URL，多文件用逗号隔开*/
    private String appendix;
    /**  状态：0未发送 1已发送*/
    private int status;
    /**  发送时间*/
    @Column(name = "send_time")
    private Date sendTime;
    /**  创建时间*/
    @Column(name = "create_time")
    private Date createTime;
    
    
    /**
	 * 请求流水号（唯一）
	 */
    @Column(name = "request_id")
	private String requestId;
	
	/**
	 * 请求时间戳
	 */
    @Column(name = "request_date")
	private Date requestDateTime;
	/**
	 * 业务编码
	 */
    @Column(name = "biz_code")
	private String bizCode;
	/**
	 * 系统编号，每个调用的系统分配一个唯一的编号
	 */
    @Column(name = "system_code")
	private String systemCode;
	/**
	 * 自定义发送分类编码，方便每个系统自定义分类
	 */
    @Column(name = "custom_type_code")
	private String customTypeCode;
	/**
	 * 发送类型，参照com.eascs.notify.mail.MailSendType
	 */
    @Column(name = "mail_send_type")
	private String mailSendType;
	/**
	 * 定时发送时间戳
	 */
    @Column(name = "schedule_send_date")
	private Date scheduleSendDateTime;
	/**
	 * 暗抄邮件，可以是多个邮件，用逗号分割
	 */
    @Column(name = "bcc")
	private String recipientBcc;

    
    
    
	public String getEmailId() {
		return emailId;
	}
	public void setEmailId(String emailId) {
		this.emailId = emailId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getRecipients() {
		return recipients;
	}
	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}
	public String getCc() {
		return cc;
	}
	public void setCc(String cc) {
		this.cc = cc;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAppendix() {
		return appendix;
	}
	public void setAppendix(String appendix) {
		this.appendix = appendix;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
    
	public String getRequestId() {
		return requestId;
	}
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
	public Date getRequestDateTime() {
		return requestDateTime;
	}
	public void setRequestDateTime(Date requestDateTime) {
		this.requestDateTime = requestDateTime;
	}
	public String getBizCode() {
		return bizCode;
	}
	public void setBizCode(String bizCode) {
		this.bizCode = bizCode;
	}
	public String getSystemCode() {
		return systemCode;
	}
	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}
	public String getCustomTypeCode() {
		return customTypeCode;
	}
	public void setCustomTypeCode(String customTypeCode) {
		this.customTypeCode = customTypeCode;
	}
	public String getMailSendType() {
		return mailSendType;
	}
	public void setMailSendType(String mailSendType) {
		this.mailSendType = mailSendType;
	}
	
	public Date getScheduleSendDateTime() {
		return scheduleSendDateTime;
	}
	public void setScheduleSendDateTime(Date scheduleSendDateTime) {
		this.scheduleSendDateTime = scheduleSendDateTime;
	}
	public String getRecipientBcc() {
		return recipientBcc;
	}
	public void setRecipientBcc(String recipientBcc) {
		this.recipientBcc = recipientBcc;
	}

}
